package com.xdxc.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 实体类对应数据库中的表answer
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("answer")
public class Answer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @JsonSerialize(using = ToStringSerializer.class)

    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long answerId;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long quId;
    private Boolean isRight;
    private Integer sort;
    private String abc;
    private Double pathScore;
    private String content;
    private String image;
    private Double scoreRate;
}
